package cn.tedu.service;

import cn.tedu.dao.studentDao;
import cn.tedu.pojo.student;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class studentServiceImpl implements studentService{

    @Autowired
    private studentDao studentDao;
    @Override
    public List<student> getall() {
        return studentDao.getall();
    }

    @Override
    public void insertStu(student student) {
        studentDao.insertStu(student);
    }
}
